package ar.com.quickMart.database;

import java.util.List;

import ar.com.quickMart.logic.Branch;

public interface BranchDao {
	
	public boolean addBranch(String address, long supermarketId, long provinceId);
	public Long getBranchId(String address, long supermarketId);
	public boolean removeBranch(long branchId);
	public List<Branch> getBranches(long supermarketId);
	
	/**
	 * getBranch
	 * 
	 * Retorna la surcursal correspondiente al id
	 * 
	 * @param branchId Id de la sucursal
	 * @return sucursal (contiene el atributo superMarket )
	 * 
	 */
	public Branch getBranch(long branchId);
	

}
